package com.cjh;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

/**
 *org.example
 *2024/7/23 11:11
 *
 *@author chenjh
 */
@FeignClient(
        name = "feign-vs-dubbo-feign-provider",
        contextId = "feign-vs-dubbo-feign-provider"
)
public interface DemoFeignService {
    @ResponseBody
    @RequestMapping("delay100")
    String delay100(String name);

    @ResponseBody
    @RequestMapping("delay500")
    String delay500(String name);
}
